import 'package:flutter/material.dart';

class AQGradient extends StatelessWidget {
  final double? width;
  final double? height;
  final Widget? child;

  const AQGradient({
    super.key,
    this.width,
    this.height,
    this.child,
  });

  @override
  Widget build(BuildContext context) {
    return Container(
      height: height,
      width: width,
      decoration: const BoxDecoration(
        gradient: LinearGradient(
          begin: Alignment.topCenter,
          end: Alignment.bottomCenter,
          colors: [
            Color(0xFFF9EDED),
            Color(0xFFFFFFFF),
          ],
        ),
      ),
      child: child,
    );
  }
}
